06. Creating a Local Server I

Server Heading

Creating A Local Server With Node & Express

ND#0001 C3 L02 A07 Server

Server Recap

Another way you might see this same server code written is with an arrow function. Here is an example of the same code using an arrow function:

const server = app.listen(port, ()=>{console.log(`running on localhost: ${port}`)})